'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function GetItemPropertyRecord( _ ByVal client As IEasyDAClient, _ ByVal serverDescriptor As ServerDescriptor, _ ByVal nodeDescriptor As DANodeDescriptor, _ ByVal propertyIds As IEnumerable(Of DAPropertyId), _ ByVal allowFailures As Boolean _ ) As DAItemPropertyRecord
'Usage
Dim client As IEasyDAClient Dim serverDescriptor As ServerDescriptor Dim nodeDescriptor As DANodeDescriptor Dim propertyIds As IEnumerable(Of DAPropertyId) Dim allowFailures As Boolean Dim value As DAItemPropertyRecord value = IEasyDAClientExtension2.GetItemPropertyRecord(client, serverDescriptor, nodeDescriptor, propertyIds, allowFailures)
[Extension()] [NotNull()] public static DAItemPropertyRecord GetItemPropertyRecord( IEasyDAClient client, ServerDescriptor serverDescriptor, DANodeDescriptor nodeDescriptor, IEnumerable<DAPropertyId> propertyIds, bool allowFailures )
[Extension()] [NotNull()] public: static DAItemPropertyRecord^ GetItemPropertyRecord( IEasyDAClient^ client, ServerDescriptor^ serverDescriptor, DANodeDescriptor^ nodeDescriptor, IEnumerable<DAPropertyId^>^ propertyIds, bool allowFailures )
Parameters
- client
- The client object that will perform the operation.
- serverDescriptor
- The OPC server involved in the operation.
- nodeDescriptor
- The descriptor of the OPC node involved in the operation.
- propertyIds
- Specifies which OPC properties should be obtained and returned.
- allowFailures
- If false, any failures cause the method to throw an exception. If true, failures are ignored, and the affected OPC properties will contain default values.
Return Value
Returns a structure containing the OPC property values requested.